<div class="stats-panel">
  <div class="container">
    <ng-container *ngFor="let item of data">
      <div class="item">
        <!-- 图表icon -->
        <div class="icon">
          <img [src]=item.icon>
        </div>
        <!-- 右侧内容 -->
        <div class="content"  [ngStyle]="{'min-width': item.value > 999 ? '115px' : '0px' }">
          <div class="value-unit">
            <div class="value"  [ngStyle]="{'color': changeColor ? 'rgb(255, 255, 255, 1)' : '#0062EC'}">
              <span>{{item.value}}</span>
            </div>
            <div class="unit"  [ngStyle]="{'color': changeColor ? 'rgb(255, 255, 255, 1)' : '#0062EC'}">
              <span>{{item.unit}}</span>
            </div>
          </div>
          <div class="name" [ngStyle]="{'color': changeColor ? 'rgb(255, 255, 255, 0.8)' : 'rgb(0, 0, 0)'}">
            <span>{{item.name}}</span>
          </div>
        </div>
      </div>
    </ng-container>
  </div>
</div>